<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j">

	<h:outputText value="#{messages['bik.noObligations']}"
		rendered="#{empty applicationx.bikObligations}" />
	<rich:dataTable style="width: 100%;"
		value="#{applicationx.bikObligations}" var="obligation"
		id="obligationListTable" rowClasses="odd-row, even-row"
		styleClass="stable"
		rendered="#{not empty applicationx.bikObligations}">

		<f:facet name="header">
			<h:outputText value="#{messages['bik.header']}:" />
		</f:facet>

		<rich:column width="30%">
			<f:facet name="header">#{messages['bik.bank']}</f:facet>
			<h:outputText value="#{obligation.bank}" />
		</rich:column>

		<rich:column width="30%">
			<f:facet name="header">#{messages['bik.month']}</f:facet>
			<h:outputText value="#{obligation.month}" />
		</rich:column>

		<rich:column width="30%">
			<f:facet name="header">#{messages['bik.money']}</f:facet>
			<h:outputText value="#{obligation.money}">
				<f:convertNumber type="currency"
					currencySymbol="#{obligation.currency}" />
			</h:outputText>
		</rich:column>

		<rich:column width="10%">
			<f:facet name="header">#{messages['bik.currency']}</f:facet>
			<h:outputText value="#{obligation.currency}">
			</h:outputText>
		</rich:column>
	</rich:dataTable>
</ui:composition>